| Conditions | 1 |
| Total Lines | 11 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import {chat_v1 as chatV1} from 'googleapis/build/src/apis/chat/v1'; |
||
| 26 | |||
| 27 | protected createButton( |
||
| 28 | text: string, action: string, interaction: string | undefined = undefined, |
||
| 29 | parameters = []): chatV1.Schema$GoogleAppsCardV1Button { |
||
| 30 | return { |
||
| 31 | text, |
||
| 32 | 'onClick': { |
||
| 33 | 'action': { |
||
| 34 | 'function': action, |
||
| 35 | interaction, |
||
| 36 | parameters, |
||
| 37 | }, |
||
| 57 |